#ifndef __SCPI_DEF_H_
#define __SCPI_DEF_H_

#include "../scpi.h"

static scpi_t scpi_context;

static size_t SCPI_Write(scpi_t * context, const char * data, size_t len);
static int SCPI_Error(scpi_t * context, int_fast16_t err);
static scpi_result_t SCPI_Control(scpi_t * context, scpi_ctrl_name_t ctrl, scpi_reg_val_t val);
static scpi_result_t SCPI_Reset(scpi_t * context);
static scpi_result_t SCPI_Test(scpi_t * context);
static scpi_result_t SCPI_Flush(scpi_t * context);


static scpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context);

#endif // __SCPI_DEF_H_

